package cmarter.dev.chpt2.predicates;

import cmarter.dev.chpt2.interfaces.ApplePredicate;
import cmarter.dev.entities.Apple;

public class AppleWeightResetPredicate implements ApplePredicate {	
	@Override
	public boolean test(Apple apple) {
		apple.setWeight(0d);		
		return (apple.getWeight() == 0d);
	}	
}
